package com.ncst.backend.service;

import com.ncst.backend.domain.Employee;
import java.util.List;

/**
 * 员工服务接口
 */
public interface EmployeeService {
    Employee getById(Integer id);
    List<Employee> getAll();
    List<Employee> getByCondition(Employee employee);
    List<Employee> getByPage(Integer pageNum, Integer pageSize);
    Long countAll();
    Long countByCondition(Employee employee);
    boolean save(Employee employee);
    boolean saveBatch(List<Employee> list);
    boolean updateById(Employee employee);
    boolean removeById(Integer id);
    boolean removeByIds(List<Integer> ids);
}
